home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / drivers / wiping.c < prev    next >
C/C++ Source or Header  |  2000-04-04  |  13KB  |  434 lines

  1. /***************************************************************************
  2.                 Wiping
  3.                 (C) 1982 Nichibutsu
  4.  
  5.                     driver by
  6.  
  7.             Allard van der Bas (allard@mindless.com)
  8.  
  9. 1 x Z80 CPU main game, 1 x Z80 with ???? sound hardware.
  10. ----------------------------------------------------------------------------
  11. Main processor :
  12.  
  13. 0xA800 - 0xA807    : 64 bits of input and dipswitches.
  14.  
  15. dip: 0.7 1.7 2.7
  16.        0   0   0    coin 1: 1 coin 0 credit.
  17.  
  18.        1   1   1    coin 1: 1 coin 7 credit.
  19.  
  20. dip: 3.7 4.7 5.7
  21.        0   0   0    coin 2: 0 coin 1 credit.
  22.  
  23.        1   1   1    coin 2: 7 coin 1 credit.
  24.  
  25. dip:  7.6
  26.     0        bonus at 30K and 70K
  27.     1        bonus at 50K and 150K
  28.  
  29. dip: 6.7 7.7
  30.        0   0        2 lives
  31.        0   1        3 lives
  32.        1   0        4 lives
  33.        1   1        5 lives
  34.  
  35. ***************************************************************************/
  36. #include "driver.h"
  37. #include "vidhrdw/generic.h"
  38. #include "cpu/z80/z80.h"
  39.  
  40.  
  41. WRITE_HANDLER( wiping_flipscreen_w );
  42. void wiping_vh_convert_color_prom(unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  43. void wiping_vh_screenrefresh(struct osd_bitmap *bitmap,int full_refresh);
  44.  
  45. extern unsigned char *wiping_soundregs;
  46. int wiping_sh_start(const struct MachineSound *msound);
  47. void wiping_sh_stop(void);
  48. WRITE_HANDLER( wiping_sound_w );
  49.  
  50.  
  51. static unsigned char *sharedram1,*sharedram2;
  52.  
  53. static READ_HANDLER( shared1_r )
  54. {
  55.     return sharedram1[offset];
  56. }
  57.  
  58. static READ_HANDLER( shared2_r )
  59. {
  60.     return sharedram2[offset];
  61. }
  62.  
  63. static WRITE_HANDLER( shared1_w )
  64. {
  65.     sharedram1[offset] = data;
  66. }
  67.  
  68. static WRITE_HANDLER( shared2_w )
  69. {
  70.     sharedram2[offset] = data;
  71. }
  72.  
  73.  
  74. /* input ports are rotated 90 degrees */
  75. static READ_HANDLER( ports_r )
  76. {
  77.     int i,res;
  78.  
  79.  
  80.     res = 0;
  81.     for (i = 0;i < 8;i++)
  82.         res |= ((readinputport(i) >> offset) & 1) << i;
  83.  
  84.     return res;
  85. }
  86.  
  87. static WRITE_HANDLER( subcpu_reset_w )
  88. {
  89.     if (data & 1)
  90.         cpu_set_reset_line(1,CLEAR_LINE);
  91.     else
  92.         cpu_set_reset_line(1,ASSERT_LINE);
  93. }
  94.  
  95.  
  96.  
  97. static struct MemoryReadAddress readmem[] =
  98. {
  99.     { 0x0000, 0x5fff, MRA_ROM },
  100.     { 0x8000, 0x8bff, MRA_RAM },
  101.     { 0x9000, 0x93ff, shared1_r },
  102.     { 0x9800, 0x9bff, shared2_r },
  103.     { 0xa800, 0xa807, ports_r },
  104.     { 0xb000, 0xb7ff, MRA_RAM },
  105.     { -1 }    /* end of table */
  106. };
  107.  
  108. static struct MemoryWriteAddress writemem[] =
  109. {
  110.     { 0x0000, 0x5fff, MWA_ROM },
  111.     { 0x8000, 0x83ff, videoram_w, &videoram, &videoram_size },
  112.     { 0x8400, 0x87ff, colorram_w, &colorram },
  113.     { 0x8800, 0x88ff, MWA_RAM, &spriteram, &spriteram_size },
  114.     { 0x8900, 0x8bff, MWA_RAM },
  115.     { 0x9000, 0x93ff, shared1_w, &sharedram1 },
  116.     { 0x9800, 0x9bff, shared2_w, &sharedram2 },
  117.     { 0xa000, 0xa000, interrupt_enable_w },
  118.     { 0xa002, 0xa002, wiping_flipscreen_w },
  119.     { 0xa003, 0xa003, subcpu_reset_w },
  120.     { 0xb000, 0xb7ff, MWA_RAM },
  121.     { 0xb800, 0xb800, watchdog_reset_w },
  122.     { -1 }    /* end of table */
  123. };
  124.  
  125.  
  126. /* Sound cpu data */
  127. static struct MemoryReadAddress sound_readmem[] =
  128. {
  129.     { 0x0000, 0x1fff, MRA_ROM },
  130.     { 0x9000, 0x93ff, shared1_r },
  131.     { 0x9800, 0x9bff, shared2_r },
  132.     { -1 }    /* end of table */
  133. };
  134.  
  135. static struct MemoryWriteAddress sound_writemem[] =
  136. {
  137.     { 0x0000, 0x1fff, MWA_ROM },
  138.     { 0x4000, 0x7fff, wiping_sound_w, &wiping_soundregs },
  139.     { 0x9000, 0x93ff, shared1_w },
  140.     { 0x9800, 0x9bff, shared2_w },
  141.     { 0xa001, 0xa001, interrupt_enable_w },
  142.     { -1 }
  143. };
  144.  
  145.  
  146.  
  147. INPUT_PORTS_START( wiping )
  148.     PORT_START    /* 0 */
  149.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY )
  150.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY )
  151.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  152.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY )
  153.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  154.     PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_UNUSED )
  155.  
  156.     PORT_START    /* 1 */
  157.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
  158.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
  159.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
  160.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
  161.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL )
  162.     PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_UNUSED )
  163.  
  164.     PORT_START    /* 2 */
  165.  
  166.     PORT_START    /* 3 */
  167.  
  168.     PORT_START    /* 4 */
  169.  
  170.     PORT_START    /* 5 */
  171.  
  172.     PORT_START    /* 6 */
  173.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 )
  174.     PORT_BIT( 0x05, IP_ACTIVE_LOW, IPT_COIN2 )    /* note that this changes two bits */
  175.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
  176.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
  177.     PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
  178.     PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
  179.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  180.     PORT_SERVICE( 0x40, IP_ACTIVE_HIGH )
  181.     PORT_DIPNAME( 0x80, 0x00, DEF_STR( Bonus_Life ) )
  182.     PORT_DIPSETTING(    0x00, "30000 70000" )
  183.     PORT_DIPSETTING(    0x80, "50000 150000" )
  184.  
  185.     PORT_START    /* 7 */
  186.     PORT_DIPNAME( 0x07, 0x01, DEF_STR( Coin_B )  )
  187.     PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
  188.     PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  189.     PORT_DIPSETTING(    0x03, DEF_STR( 1C_3C ) )
  190.     PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
  191.     PORT_DIPSETTING(    0x05, DEF_STR( 1C_5C ) )
  192.     PORT_DIPSETTING(    0x06, DEF_STR( 1C_6C ) )
  193.     PORT_DIPSETTING(    0x07, DEF_STR( 1C_7C ) )
  194. //    PORT_DIPSETTING(    0x00, "Disable" )
  195.     PORT_DIPNAME( 0x38, 0x08, DEF_STR( Coin_A ) )
  196.     PORT_DIPSETTING(    0x38, DEF_STR( 7C_1C ) )
  197.     PORT_DIPSETTING(    0x30, DEF_STR( 6C_1C ) )
  198.     PORT_DIPSETTING(    0x28, DEF_STR( 5C_1C ) )
  199.     PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
  200.     PORT_DIPSETTING(    0x18, DEF_STR( 3C_1C ) )
  201.     PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
  202.     PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) )
  203.     PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  204.     PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) )
  205.     PORT_DIPSETTING(    0x00, "2" )
  206.     PORT_DIPSETTING(    0x40, "3" )
  207.     PORT_DIPSETTING(    0x80, "4" )
  208.     PORT_DIPSETTING(    0xc0, "5" )
  209. INPUT_PORTS_END
  210.  
  211. /* identical apart from bonus life */
  212. INPUT_PORTS_START( rugrats )
  213.     PORT_START    /* 0 */
  214.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY )
  215.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY )
  216.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  217.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY )
  218.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  219.     PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_UNUSED )
  220.  
  221.     PORT_START    /* 1 */
  222.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
  223.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
  224.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
  225.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
  226.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL )
  227.     PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_UNUSED )
  228.  
  229.     PORT_START    /* 2 */
  230.  
  231.     PORT_START    /* 3 */
  232.  
  233.     PORT_START    /* 4 */
  234.  
  235.     PORT_START    /* 5 */
  236.  
  237.     PORT_START    /* 6 */
  238.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 )
  239.     PORT_BIT( 0x05, IP_ACTIVE_LOW, IPT_COIN2 )    /* note that this changes two bits */
  240.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
  241.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
  242.     PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
  243.     PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
  244.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  245.     PORT_SERVICE( 0x40, IP_ACTIVE_HIGH )
  246.     PORT_DIPNAME( 0x80, 0x00, DEF_STR( Bonus_Life ) )
  247.     PORT_DIPSETTING(    0x00, "100000 200000" )
  248.     PORT_DIPSETTING(    0x80, "150000 300000" )
  249.  
  250.     PORT_START    /* 7 */
  251.     PORT_DIPNAME( 0x07, 0x01, DEF_STR( Coin_B )  )
  252.     PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
  253.     PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  254.     PORT_DIPSETTING(    0x03, DEF_STR( 1C_3C ) )
  255.     PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
  256.     PORT_DIPSETTING(    0x05, DEF_STR( 1C_5C ) )
  257.     PORT_DIPSETTING(    0x06, DEF_STR( 1C_6C ) )
  258.     PORT_DIPSETTING(    0x07, DEF_STR( 1C_7C ) )
  259. //    PORT_DIPSETTING(    0x00, "Disable" )
  260.     PORT_DIPNAME( 0x38, 0x08, DEF_STR( Coin_A ) )
  261.     PORT_DIPSETTING(    0x38, DEF_STR( 7C_1C ) )
  262.     PORT_DIPSETTING(    0x30, DEF_STR( 6C_1C ) )
  263.     PORT_DIPSETTING(    0x28, DEF_STR( 5C_1C ) )
  264.     PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
  265.     PORT_DIPSETTING(    0x18, DEF_STR( 3C_1C ) )
  266.     PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
  267.     PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) )
  268.     PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  269.     PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) )
  270.     PORT_DIPSETTING(    0x00, "2" )
  271.     PORT_DIPSETTING(    0x40, "3" )
  272.     PORT_DIPSETTING(    0x80, "4" )
  273.     PORT_DIPSETTING(    0xc0, "5" )
  274. INPUT_PORTS_END
  275.  
  276.  
  277.  
  278. static struct GfxLayout charlayout =
  279. {
  280.     8,8,    /* 8*8 characters */
  281.     256,    /* 256 characters */
  282.     2,    /* 2 bits per pixel */
  283.     { 0, 4 },    /* the two bitplanes are packed in one byte */
  284.     { 0, 1, 2, 3, 8+0, 8+1, 8+2, 8+3 },
  285.     { 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16 },
  286.     16*8    /* every char takes 16 consecutive bytes */
  287. };
  288.  
  289. static struct GfxLayout spritelayout =
  290. {
  291.     16,16,    /* 16*16 sprites */
  292.     128,    /* 128 sprites */
  293.     2,    /* 2 bits per pixel */
  294.     { 0, 4 },    /* the two bitplanes are packed in one byte */
  295.     { 0, 1, 2, 3, 8+0, 8+1, 8+2, 8+3,
  296.             16*8+0, 16*8+1, 16*8+2, 16*8+3, 17*8+0, 17*8+1, 17*8+2, 17*8+3 },
  297.     { 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
  298.             16*16, 17*16, 18*16, 19*16, 20*16, 21*16, 22*16, 23*16 },
  299.     64*8    /* every sprite takes 64 consecutive bytes */
  300. };
  301.  
  302. static struct GfxDecodeInfo gfxdecodeinfo[] =
  303. {
  304.     { REGION_GFX1, 0, &charlayout,      0, 64 },
  305.     { REGION_GFX2, 0, &spritelayout, 64*4, 64 },
  306.     { -1 } /* end of array */
  307. };
  308.  
  309.  
  310.  
  311. static struct CustomSound_interface custom_interface =
  312. {
  313.     wiping_sh_start,
  314.     wiping_sh_stop,
  315.     0
  316. };
  317.  
  318.  
  319.  
  320. static struct MachineDriver machine_driver_wiping =
  321. {
  322.     /* basic machine hardware */
  323.     {
  324.         {
  325.             CPU_Z80,
  326.             18432000/6,    /* 3.072 Mhz */
  327.             readmem,writemem,0,0,
  328.             interrupt,1
  329.         },
  330.         {
  331.             CPU_Z80 | CPU_AUDIO_CPU,
  332.             18432000/6,    /* 3.072 Mhz */
  333.             sound_readmem,sound_writemem,0,0,
  334.             0,0,
  335.             interrupt,140    /* periodic interrupt, don't know about the frequency */
  336.         },
  337.     },
  338.     60,DEFAULT_60HZ_VBLANK_DURATION,
  339.     1,
  340.     0, /* init machine */
  341.  
  342.     /* video hardware */
  343.     36*8, 28*8, { 0*8, 36*8-1, 0*8, 28*8-1 },
  344.     gfxdecodeinfo,
  345.     32, 64*4+64*4,
  346.     wiping_vh_convert_color_prom,
  347.  
  348.     VIDEO_TYPE_RASTER | VIDEO_SUPPORTS_DIRTY,
  349.     0,
  350.     generic_vh_start,
  351.     generic_vh_stop,
  352.     wiping_vh_screenrefresh,
  353.  
  354.     /* sound hardware */
  355.     0,0,0,0,
  356.     {
  357.         {
  358.             SOUND_CUSTOM,
  359.             &custom_interface
  360.         }
  361.     }
  362. };
  363.  
  364.  
  365.  
  366. /***************************************************************************
  367.  
  368.   Game driver(s)
  369.  
  370. ***************************************************************************/
  371.  
  372. ROM_START( wiping )
  373.     ROM_REGION( 0x10000, REGION_CPU1 )    /* main cpu code */
  374.     ROM_LOAD( "1",            0x0000, 0x2000, 0xb55d0d19 )
  375.     ROM_LOAD( "2",            0x2000, 0x2000, 0xb1f96e47 )
  376.     ROM_LOAD( "3",            0x4000, 0x2000, 0xc67bab5a )
  377.  
  378.     ROM_REGION( 0x10000, REGION_CPU2 )    /* sound cpu */
  379.     ROM_LOAD( "4",            0x0000, 0x1000, 0xa1547e18 )
  380.  
  381.     ROM_REGION( 0x1000, REGION_GFX1 | REGIONFLAG_DISPOSE )
  382.     ROM_LOAD( "8",            0x0000, 0x1000, 0x601160f6 ) /* chars */
  383.  
  384.     ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
  385.     ROM_LOAD( "7",            0x0000, 0x2000, 0x2c2cc054 ) /* sprites */
  386.  
  387.     ROM_REGION( 0x0220, REGION_PROMS )
  388.     ROM_LOAD( "wip-g13.bin",  0x0000, 0x0020, 0xb858b897 )    /* palette */
  389.     ROM_LOAD( "wip-f4.bin",   0x0020, 0x0100, 0x3f56c8d5 )    /* char lookup table */
  390.     ROM_LOAD( "wip-e11.bin",  0x0120, 0x0100, 0xe7400715 )    /* sprite lookup table */
  391.  
  392.     ROM_REGION( 0x4000, REGION_SOUND1 )    /* samples */
  393.     ROM_LOAD( "rugr5c8",      0x0000, 0x2000, 0x67bafbbf )
  394.     ROM_LOAD( "rugr6c9",      0x2000, 0x2000, 0xcac84a87 )
  395.  
  396.     ROM_REGION( 0x0200, REGION_SOUND2 )    /* 4bit->8bit sample expansion PROMs */
  397.     ROM_LOAD( "wip-e8.bin",   0x0000, 0x0100, 0xbd2c080b )    /* low 4 bits */
  398.     ROM_LOAD( "wip-e9.bin",   0x0100, 0x0100, 0x4017a2a6 )    /* high 4 bits */
  399. ROM_END
  400.  
  401. ROM_START( rugrats )
  402.     ROM_REGION( 0x10000, REGION_CPU1 )    /* main cpu code */
  403.     ROM_LOAD( "rugr1d1",      0x0000, 0x2000, 0xe7e1bd6d )
  404.     ROM_LOAD( "rugr2d2",      0x2000, 0x2000, 0x5f47b9ad )
  405.     ROM_LOAD( "rugr3d3",      0x4000, 0x2000, 0x3d748d1a )
  406.  
  407.     ROM_REGION( 0x10000, REGION_CPU2 )    /* sound cpu */
  408.     ROM_LOAD( "rugr4c4",      0x0000, 0x2000, 0xd4a92c38 )
  409.  
  410.     ROM_REGION( 0x1000, REGION_GFX1 | REGIONFLAG_DISPOSE )
  411.     ROM_LOAD( "rugr8d2",      0x0000, 0x1000, 0xa3dcaca5 ) /* chars */
  412.  
  413.     ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
  414.     ROM_LOAD( "rugr7c13",     0x0000, 0x2000, 0xfe1191dd ) /* sprites */
  415.  
  416.     ROM_REGION( 0x0220, REGION_PROMS )
  417.     ROM_LOAD( "prom.13g",     0x0000, 0x0020, 0xf21238f0 )    /* palette */
  418.     ROM_LOAD( "prom.4f",      0x0020, 0x0100, 0xcfc90f3d )    /* char lookup table */
  419.     ROM_LOAD( "prom.11e",     0x0120, 0x0100, 0xcfc90f3d )    /* sprite lookup table */
  420.  
  421.     ROM_REGION( 0x4000, REGION_SOUND1 )    /* samples */
  422.     ROM_LOAD( "rugr5c8",      0x0000, 0x2000, 0x67bafbbf )
  423.     ROM_LOAD( "rugr6c9",      0x2000, 0x2000, 0xcac84a87 )
  424.  
  425.     ROM_REGION( 0x0200, REGION_SOUND2 )    /* 4bit->8bit sample expansion PROMs */
  426.     ROM_LOAD( "wip-e8.bin",   0x0000, 0x0100, 0xbd2c080b )    /* low 4 bits */
  427.     ROM_LOAD( "wip-e9.bin",   0x0100, 0x0100, 0x4017a2a6 )    /* high 4 bits */
  428. ROM_END
  429.  
  430.  
  431.  
  432. GAME( 1982, wiping,  0,      wiping, wiping,  0, ROT90, "Nichibutsu", "Wiping" )
  433. GAME( 1983, rugrats, wiping, wiping, rugrats, 0, ROT90, "Nichibutsu", "Rug Rats" )
  434.